package com.sky.define;

public class MethodDemo1 {
    public static void main(String[] args) {
        int rs = sum(10 ,20);

        System.out.println(rs);

        int rs2 = sum (30 ,20);
        System.out.println(rs2);


    }

    public static int sum(int x , int y){
        int c = x + y;
        return c;

    }

}
